package com.uchiha.nova.mainService.config;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.uchiha.nova.mainService.props.AuthProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
@Slf4j
public class GatewayRoutesConfiguration {


    @Bean
    public ObjectMapper objectMapper() {
        return new ObjectMapper();
    }

    @Bean
    public AuthProperties authProperties() {
        return new AuthProperties();
    }
}